function t() {
    l.sendrequest("posterapi/speciallist", "POST", {
        page: i,
        id: a
    }, function(t) {
        if (1 == t.status) {
            for (var a = new Array(), i = new Array(), r = t.data.list, l = 0; l < r.length; l++) n > s ? (i.push(r[l]), 
            s += parseInt(r[l].background_height)) : (a.push(r[l]), n += parseInt(r[l].background_height));
            e.setData({
                leftlist: e.data.leftlist.concat(a),
                rightlist: e.data.rightlist.concat(i),
                listnum: e.data.listnum + r.length
            });
        }
    });
}

var a, i, e, r, n, s, l = require("../../utils/util.js");

Page({
    data: {
        imgurl: getApp().globalData.url.imgurl,
        leftlist: new Array(),
        rightlist: new Array(),
        listnum: 0
    },
    onLoad: function(u) {
        l.getToken(function(t) {
            r = t;
        }), e = this, n = 0, s = 0, i = 1, a = u.specail_id, t();
    },
    redirtbyid: function(t) {
        wx.navigateTo({
            url: "/pages/poster/poster?micro_id=" + t.currentTarget.dataset.id
        });
    },
    onReachBottom: function() {
        i += 1, t();
    }
});